package com.hrt.manage.comments.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hrt.base.BaseDaoImpl;
import com.hrt.bean.Comments;
import com.hrt.manage.comments.dao.CommentsDao;

@Repository
public class CommentsDaoImpl extends BaseDaoImpl<Comments> implements CommentsDao{
	
	@SuppressWarnings("unchecked")
	@Override
	public List<Comments> findDelAll() {
		return getHibernateTemplate().find("FROM Comments WHERE isdelete=0");
	}
}
